package ru.stepuk.modeller.distributions;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author ivan
 */
public class DegenerateDistribution implements Distribution {

    private double value;

    public DegenerateDistribution(double value) {
        this.value = value;
    }

    public double nextValue() {
        return value;
    }

    public Map<String, Object> getParameters() {
        Map<String, Object> res = new HashMap<String, Object>();
        res.put("Value", value);
        return res;
    }
}
